home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.crl.com!lab!not-for-mail
- From: hoxsiew@ (Wayne D. Hoxsie Jr.)
- Newsgroups: comp.programming,comp.os.msdos.programming,comp.lang.c
- Subject: Re: Program to count lines in C-source ??
- Date: Sat, 06 Jan 1996 23:34:44 GMT
- Organization: The Lab BBS (618)462-0767
- Distribution: world
- Message-ID: <28GjdJ$01K@lab.org>
- References: <4clqrt$qh@pan.otol.fi>
- Reply-To: hoxsiew@crl.com (Wayne D. Hoxsie)
- NNTP-Posting-Host: crl7.crl.com
- X-Newsreader: IBM NewsReader/2 v1.2.5
- X-NNTPDaemon: changi 0.9 for OS/2
-
- In <4clqrt$qh@pan.otol.fi>, tkes@rhea.otol.fi (Timo Sakari) writes:
- >
- >I am looking for a dos/win 3.1 program(s) (with source if possible) to count
- >lines from (several) C-files and maybe .h files too, preferably programs
- >that are capable of counting all lines and real code lines (no comment
- >and empty lines included).
- >
- >A capability to count lines that are compiled would be great too, because
- >I exclude/include portions of code with #define and #ifdef statements.
- >
- >Any pointers to such programs would be greatly appreciated. Thanks.
- >
-
- Your C compiler has one built-in. Try the C preprocessor.
-
- --
- Wayne D. Hoxsie Jr. <hoxsiew@crl.com>
- finger or http://www.crl.com/~hoxsiew for PGP key
-
-